#ifndef _SO_CLASSIFIER_
#define _SO_CLASSIFIER_
#include "define.h"
#include "SOBase.h"
class CSOClassifier:public CSOBase
{
public:
	CSOClassifier(const CString& workDir,const CString& keyword,int dimen);
	void Classify(clsMethod method,int neighbors=0);
	std::vector<CString> getConfig();
private:
	std::vector<int> KNN_Classify(int neighbors);
	std::vector<int> SVM_Classify();

private:
	CString		m_modelDir;
	CString		m_keyword;
	clsMethod	m_method;
	int			m_neighbors;
	std::vector<int> m_textNum;
	int			m_dimen;
};
#endif